/**
 * 判断是否为 number
 *
 * @param value 需要进行判断的值
 * @returns {value is number} true 为 number，false 为其他类型
 */
export const isNum = (value: any): value is number => typeof value === 'number' && !isNaN(value)

export type IsNumType = typeof isNum
